package net.lshimokawa.pap6;

public final class Calculadora {

	public final int sumar(int a, int b) {

		//throw new UnsupportedOperationException();
            return a + b;
                
	}

	public final int restar(int a, int b) {

	//	throw new UnsupportedOperationException();
            return a - b;

	}

	public final int multiplicar(int a, int b) {

		//throw new UnsupportedOperationException();
            return a * b;

	}

	public final int dividir(int a, int b) {

		//throw new UnsupportedOperationException();
                if (b==0)
                {
                    return -1;
                }
                else
                {
                    return a / b;
                }
                
	}
}
